<?php

namespace Shared\Main;

use Doctrine\ORM\Mapping as ORM;

/**
 * Description of Administrator
 *
 * @author nofear
 */
/**
 * @ORM\Entity
 * @ORM\Table(name="admin_users")
 */
class Administrator {
    
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue
     */
    private $id;
    
    /**
     * @ORM\Column
     */
    private $username;
    
    /**
     * @ORM\Column
     */
    private $password;
    
    /**
     * @ORM\Column
     */
    private $email;
    
    /**
     * @ORM\Column
     */
    private $secret;
    
    /**
     * @ORM\Column(type="boolean")
     */
    private $isActive;
    
    /**
     * @ORM\Column(type="boolean")
     */
    private $isDeleted;
    
    public function getId() {
        return $this->id;
    }

    public function getUsername() {
        return $this->username;
    }

    public function getEmail() {
        return $this->email;
    }

    public function getSecret() {
        return $this->secret;
    }

    public function getIsActive() {
        return $this->isActive;
    }

    public function getIsDeleted() {
        return $this->isDeleted;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function setUsername($username) {
        $this->username = $username;
    }

    public function setEmail($email) {
        $this->email = $email;
    }

    public function setSecret($secret) {
        $this->secret = $secret;
    }

    public function setIsActive($isActive) {
        $this->isActive = $isActive;
    }

    public function setIsDeleted($isDeleted) {
        $this->isDeleted = $isDeleted;
    }
    
    public function getPassword() {
        return $this->password;
    }

    public function setPassword($password) {
        $this->password = $password;
    }
}
